#include "raw_api.h"
#include "stm32f10x.h"
#include "bsp.h"
#include "board.h"
#include "task_shell.h"
#include "kservice.h"
//#include "task_period.h"
//#include "task_lora.h"

extern void  OS_CPU_SysTickInit (void);

ACTIVE_EVENT_STRUCT_CB active_idle_task[] = 
{
	{&active_shell.evt,   queue_shell,    ARRAY_SIZE(queue_shell)},
//	{&period_event.evt,   period_queue,   ARRAY_SIZE(period_queue)},
//	{&active_lora.evt,    queue_lora,     ARRAY_SIZE(queue_lora)},
};

int main()
{
	board_init();
    
	event_init();
     
	shell_task_init();
	
//	period_task_init();
	
//	lora_task_init();
    
	OS_CPU_SysTickInit();

	event_sche();
}




